<?php #pr($this->data) ?>
<fieldset id="profile">
<legend>Профиль</legend>
<?php echo $form->create('Profile', array('url'=>$this->here, 'id'=>'profileForm')) ?>
<ul>
	<li><?php echo $form->input('name', array('label'=>__('name', true))) ?></li>
	<li><?php echo $form->input('surname', array('label'=>__('surname', true))) ?></li>
	<?php //echo $form->input('patronymic') ?>

	<li>
		<div class="date">
			<label>дата рождения:</label>
			<?php echo $form->dateTime('birthday', 'DMY', 'NONE', null, array('minYear'=>'1900', 'maxYear'=>date("Y")), false) ?>
		</div>
	</li>

	<li><?php echo $form->input('city', array('label'=>'город')) ?></li>

	<li>
		<?php $sex = array(1=>__('sexm', true), 2=>__('sexw', true)) ?>
		<label class="sex"><?php echo __('sex', true) ?></label>
		<?php echo $form->radio('sex', $sex, array('legend'=>false)) ?>
	</li>

	<li><?php echo $form->input('icq', array('label'=>'icq')) ?></li>
	<li><?php echo $form->input('jabber', array('label'=>'jabber')) ?></li>
	<li><?php echo $form->input('pubmail', array('label'=>__('pubmail', true))) ?></li>

	<li><?php echo $form->submit(__('save', true)) ?></li>

</ul>
<?php echo $form->end() ?>
</fieldset>
